name: Bump Flake

on:
  workflow_dispatch:
    schedule:
        - cron: "0 3 1 * *" # At 3 on the first day of the month (Monday)

        jobs:
          bump:
              runs-on: ubuntu-latest

                  steps:
                        - name: Install nix
                                uses: DeterminateSystems/nix-installer-action@main

                                      - name: Checkout
                                              uses: actions/checkout@v4


                                                                  - name: Build bumped flake (only one host)
                                                                          run: nix build .\#nixosConfigurations.FW16.config.system.build.toplevel
                                                                                  
                                                                                        - name: Check bumped flake
                                                                                                run: nix flake check
